const express = require('express')
const path = require('path')
const router = require('./router/router')
app = express()

app.use(router)
// app.get('/',(req,res)=>{
//   res.send(req.url)
// })
app.use(express.static(path.join(__dirname, '/public')))
app.listen(777,()=>{
  console.log(777,'start');
  
})